/**
 * 
 */
package com.worksmap.core.dao;

import java.util.List;

import com.taobao.api.domain.Order;
import com.worksmap.core.entity.SellerConfig;
import com.worksmap.core.entity.TaoBaoSeller;
import com.worksmap.core.entity.Trade;

/**
 * 订单
 * @author jack
 *
 */
public interface TradeDao {
	
	
	public boolean saveTrade(Trade trade);
	
	public boolean updateTrade(Trade trade, String... fields);
	
	/**
	 * 方法简介：查询淘宝子订单详情
	 * jack
	 * 2014-1-3
	 */
	public Order getOrderDetail(String oId);
	
	public List<Trade> getTradeBySellerConfig(TaoBaoSeller seller, SellerConfig sellerConfig); 

}
